package com.office.anywher.eben.view;

import android.content.Context;
import android.graphics.Canvas;
import android.util.AttributeSet;
import android.widget.LinearLayout;

public class DrawTimeLayout extends LinearLayout {

	public DrawTimeLayout(Context context) {
		super(context);
	}

	public DrawTimeLayout(Context context, AttributeSet attrs) {
		super(context, attrs);
	}

    private long mMillisLastFrame;
    
	@Override
	protected void dispatchDraw(Canvas canvas) {
		long start = android.os.SystemClock.uptimeMillis();
		super.dispatchDraw(canvas);
        long end = android.os.SystemClock.uptimeMillis();
        mMillisLastFrame = end;
	}
}
